<?php echo $this->load->view('meta'); ?>
<title>xa-ncsu | profile</title>
<?php echo $this->load->view('header'); ?>
<div id="profile">
	<p class="right">
		<?=$edit?>
	</p>
	<h4>Profile</h4>	
	<table>
		<tr>
			<td>Name:</td>
			<td><?=$user->firstname.' '.$user->lastname?></td>
		</tr>
		<tr>
			<td>Email:</td>
			<td><?=$user->email?></td>
		</tr>
		<tr>
			<td>Groups:</td>
			<td><?php if ($groups != FALSE) {echo implode('<br />',$groups); }?></td>
		</tr>
	</table>
</div>
<?php echo $this->load->view('footer'); ?>